package com.cskaoyan.bean;

public class HasParamConstructorBean {
    String param1;
    String param2;

    //增加有参构造方法之后，默认的无参构造方法就不在了
    public HasParamConstructorBean(String param1, String param2) {
        this.param1 = param1;
        this.param2 = param2;
        System.out.println("有参构造方法");
    }
}
